package edu.scut.course_management.dto;

/**
 * 用于封装 查询课程作业列表（学生）传入的数据
 * @author huaming
 */
public class SectionPlusStudentIdDTO {
    private Integer courseId;
    private Integer periodId;
    private String year;
    private String term;
    private String roomNumber;
    private String studentId;
    private String buildingId;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getPeriodId() {
        return periodId;
    }

    public void setPeriodId(Integer periodId) {
        this.periodId = periodId;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }
    
    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }
    
    public boolean notNull() {
        return !(courseId==null || periodId==null || year==null || term==null ||roomNumber==null || studentId==null);
    }
}
